<!DOCTYPE html>
<html>
<!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
  <!-- Start of Baidu Transcode -->
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <meta http-equiv="Cache-Control" content="no-transform" />
  <meta name="applicable-device" content="pc,mobile">
  <meta name="MobileOptimized" content="width" />
  <meta name="HandheldFriendly" content="true" />
  <!-- Apple -->
  <meta name="apple-mobile-web-app-title" content="简书">
  <title> 注册 - 简书 </title>
  <link rel="stylesheet" media="all" href="/logins/css/web-31b33df8a6330177f636.css"/>
  <link rel="stylesheet" media="all" href="/logins/css/entry-31b33df8a6330177f636.css"/>
</head>
<body class="no-padding reader-black-font" lang="zh-CN">
  <div class="sign">
    <div class="logo">
      <a href="/">
        <img src="/logins/picture/logo-58fd04f6f0de908401aa561cda6a0688.png" alt="Logo"/>
      </a>
    </div>
    <div class="main">
      @if (count($errors) > 0)
          <div class="alert alert-danger">
              <ul>
                  @foreach ($errors->all() as $error)
                      <li>{{ $error }}</li>
                  @endforeach
              </ul>
          </div>
      @endif

      <h4 class="title">
        <div class="normal-title">
          <a class="" href="/login">
            登录
          </a>
          <b>
            ·
          </b>
          <a id="js-sign-up-btn" class="active" href="/sign_up">
            注册
          </a>
        </div>
      </h4>
      <div class="js-sign-up-container">
        <form class="new_user" action="/register" method="post">
          <div class="input-prepend restyle">
            <input placeholder="你的昵称" type="text" name="nickname" value="{{old('nickname')}}" />
            <i class="iconfont ic-user"></i>
          </div>
          <div class="input-prepend restyle no-radius js-normal">
            <input placeholder="手机号" type="tel" name="phone"/ value="{{old('phone')}}">
            <i class="iconfont ic-phonenumber"></i>
          </div>   
          <div class="input-prepend">
            <input placeholder="设置密码" type="password" name="password"/>
            <i class="iconfont ic-password"> </i>
          </div>
          {{csrf_field()}}
          <input type="submit" name="commit" value="注册" class="sign-up-button" />
          <p class="sign-up-msg">
            点击 “注册” 即表示您同意并愿意遵守简书
            <br>
            <a target="_blank" href="#">
              用户协议
            </a>
            和
            <a target="_blank" href="#">
              隐私政策
            </a>
            。
          </p>
        </form>
        <!-- 更多注册方式 -->
        <div class="more-sign">
          <h6>
            社交帐号直接注册
          </h6>
          <ul>
            <li>
              <a class="weibo" href="/users/auth/weibo">
                <i class="iconfont ic-weibo">
                </i>
              </a>
            </li>
            <li>
              <a class="weixin" href="/users/auth/wechat">
                <i class="iconfont ic-wechat">
                </i>
              </a>
            </li>
            <li>
              <a class="qq" href="/users/auth/qq_connect">
                <i class="iconfont ic-qq_connect">
                </i>
              </a>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</body>

</html>